package com.huakang.service.impl;

import com.huakang.entity.Medsci;
import com.huakang.mapper.MedsciMapper;
import com.huakang.service.MedsciService;
import com.huakang.utils.MedsciVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author{一只小呆瓜}
 * @Date2025/1/15 14:01
 */
@Service
@Transactional
public class MedsciServiceImpl implements MedsciService {
    @Autowired
    private MedsciMapper medsciMapper;
    @Override
    public List<MedsciVo> findMedsci() {
        return medsciMapper.findMedsci();
    }

    @Override
    public List<MedsciVo> findByName(String input) {
        return medsciMapper.findByName(input);
    }
}
